/**
 * Copyright (c) 2018-2028, Chill Zhuang 庄骞 (smallchill@163.com).
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.tmq.diancan.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 订单商品实体类
 *
 * @author tangmqb
 * @since 2020-03-21
 */
@Data
@TableName("diancan_order_detail")
@ApiModel(value = "DiancanOrderDetail对象", description = "订单商品")
public class DiancanOrderDetail implements Serializable {

    private static final long serialVersionUID = 1L;

  private String detailId;
  private String orderId;
  private String productId;
    /**
     * 商品名称
     */
    @ApiModelProperty(value = "商品名称")
    private String productName;
    /**
     * 当前价格,单位分
     */
    @ApiModelProperty(value = "当前价格,单位分")
    private BigDecimal productPrice;
    /**
     * 数量
     */
    @ApiModelProperty(value = "数量")
    private Integer productQuantity;
    /**
     * 小图
     */
    @ApiModelProperty(value = "小图")
    private String productIcon;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;
    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updateTime;


}
